package com.mbbmap.map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;

import com.mbbmap.app.manager.ConfigManager;
import com.mbbmap.security.action.CommonDispatchAction;
import com.mbbmap.security.dao.SecUserDao;
import com.mbbmap.util.Constants;

public class PrivacyAction extends CommonDispatchAction {
	
	public ActionForward init(ActionMapping mapping,
		ActionForm form, HttpServletRequest request,
		HttpServletResponse response) throws Exception {

		final String PROG_ID="PrivacyAction.init";

		System.out.println(PROG_ID + " : BEGIN");
		HttpSession session = request.getSession(false);
		
		String nextPage = null;
		
		
		/********************************************************************************/
		/* Custom code starts here */
		
		nextPage = "privacy_en";
		
		return mapping.findForward(nextPage);
	}
	
	public ActionForward bm(ActionMapping mapping,
		ActionForm form, HttpServletRequest request,
		HttpServletResponse response) throws Exception {

		final String PROG_ID="PrivacyAction.bm";

		System.out.println(PROG_ID + " : BEGIN");
		HttpSession session = request.getSession(false);
		
		String nextPage = null;
		
		
		
		
		/********************************************************************************/
		/* Custom code starts here */
		
		nextPage = "privacy_bm";
		
		return mapping.findForward(nextPage);
	}
}
